package com.api.manage.pojo.payment;

import java.math.BigDecimal;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serializable;
import java.util.Date;
import java.time.LocalDateTime;
import com.api.manage.base.PageBean;
/**
 * <p>
 * 在线支付历史记录,非在线支付，不会保存到该模块
 * </p>
 *
 * @author 腾木
 * @since 2023-11-08
 */
@Data
@NoArgsConstructor
@ApiModel(value="PaymentHistory对象", description="在线支付历史记录,非在线支付，不会保存到该模块")
public class PaymentHistoryBean extends PageBean implements Serializable {

    private static final long serialVersionUID=3445767891L;

    @ApiModelProperty(value = "支付历史 -- 升级放到mongoDB")
    private Long paymentHistoryId;

    @ApiModelProperty(value = "部门 或 店铺")
    private Long sysBranchOfficeId;

    @ApiModelProperty(value = "支付方式id")
    private Long paymentMethodId;

    @ApiModelProperty(value = "账户,方法,金额")
    private String payMessage;

    @ApiModelProperty(value = "订单编码")
    private String orderNo;

    @ApiModelProperty(value = "支付金额")
    private BigDecimal amount;

    @ApiModelProperty(value = "支付报错回款信息")
    private String errorMessage;

    @ApiModelProperty(value = "支付报错状态码")
    private String errorCode;

    @ApiModelProperty(value = "支付状态返回信息")
    private String receiveData;

    @ApiModelProperty(value = "收款账号编码")
    private String skNumb;

    @ApiModelProperty(value = "平台 1手机 2pc电脑 3线下支付")
    private Integer isFrom;

    @ApiModelProperty(value = "支付时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "支付客户端ip")
    private String remoteIp;

    @ApiModelProperty(value = "支付状态 1成功 0失败 2已退款")
    private Integer flag;

    private Integer deleted;


}
